package com.aso114.project.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class QuestionBean implements Serializable {

    private String PaperId;
    private String PaperTitle;
    private String Score;
    private String DifficultyFactor;
    private String ExamDuration;
    private String ExamYear;
    private String AreaId;
    private String CateId;
    private String RealPaperId;

    public ArrayList<QuestionBaseListBean> questionBaseList;
    public ArrayList<QuestionContextListBean> questionsContextList;

    public static class QuestionBaseListBean implements Serializable {

        private String QuestionBasicId;
        private String PaperId;
        private String Quantity;
        private String Title;
        private String Description;
        private String RealPaperId;
        private String RealBaseId;


        public ArrayList<questionListBean> questionList;


        public ArrayList<questionListBean> getQuestionList() {
            return questionList;
        }

        public void setQuestionList(ArrayList<questionListBean> questionList) {
            this.questionList = questionList;
        }

        public static class questionListBean implements Serializable {

            private String QuestionId;
            private String CateId;
            private String PaperId;
            private String BaseId;
            private String UserId;
            private String RealPaperId;
            private String RealBaseId;
            private String OrderNumber;
            private String RealPaperTitle;
            private String RealQuestionId;
            private String SpecialId;
            private String isCollect;
            private String FormatContent;
            private ArrayList FormatImages;
            private String ExamPaperType;
            private String QuestionScore;
            private String ErrorScore;
            private String ErrorScoreType;
            private String DeductionScore;
            private String DifficultyFactor;
            private String ContextQuestionId;
            private String AnswerCount;
            private String AnswerErrorCount;
            private String QuestionTypeId;
            private String RealQuestionBasicId;
            private userAnswerInfo userAnswerInfo;

            public static class userAnswerInfo implements Serializable {
                private String AnswerDuration;

                private String IsState;

                private String PaperId;

                private String RealQuestionId;

                private String QuestionNumber;

                private String QuestionScore;

                private String CateId;

                private ArrayList UserAnswer;

                private String UserAnswerId;


                public String getPaperId() {
                    return PaperId;
                }

                public void setPaperId(String paperId) {
                    PaperId = paperId;
                }

                public String getRealQuestionId() {
                    return RealQuestionId;
                }

                public void setRealQuestionId(String realQuestionId) {
                    RealQuestionId = realQuestionId;
                }

                public String getQuestionNumber() {
                    return QuestionNumber;
                }

                public void setQuestionNumber(String questionNumber) {
                    QuestionNumber = questionNumber;
                }

                public String getQuestionScore() {
                    return QuestionScore;
                }

                public void setQuestionScore(String questionScore) {
                    QuestionScore = questionScore;
                }

                public String getCateId() {
                    return CateId;
                }

                public void setCateId(String cateId) {
                    CateId = cateId;
                }

                public ArrayList getUserAnswer() {
                    return UserAnswer;
                }

                public void setUserAnswer(ArrayList userAnswer) {
                    UserAnswer = userAnswer;
                }

                public String getUserAnswerId() {
                    return UserAnswerId;
                }

                public void setUserAnswerId(String userAnswerId) {
                    UserAnswerId = userAnswerId;
                }

                public String getAnswerDuration() {
                    return AnswerDuration;
                }

                public void setAnswerDuration(String answerDuration) {
                    AnswerDuration = answerDuration;
                }

                public String getIsState() {
                    return IsState;
                }

                public void setIsState(String isState) {
                    IsState = isState;
                }


            }

            public questionListBean.userAnswerInfo getUserAnswerInfo() {
                return userAnswerInfo;
            }

            public void setUserAnswerInfo(questionListBean.userAnswerInfo userAnswerInfo) {
                this.userAnswerInfo = userAnswerInfo;
            }

            private ArrayList<questioncontentListBean> questioncontentList;

            private questionStatisticsInfoBean questionStatisticsInfo;

            public static class questionStatisticsInfoBean implements Serializable {
                private String QuestionStatisticId;
                private String QuestionId;
                private String RightRatio;
                private String RightCount;
                private String WrongRatio;
                private String WrongCount;


                public String getQuestionStatisticId() {
                    return QuestionStatisticId;
                }

                public void setQuestionStatisticId(String questionStatisticId) {
                    QuestionStatisticId = questionStatisticId;
                }

                public String getQuestionId() {
                    return QuestionId;
                }

                public void setQuestionId(String questionId) {
                    QuestionId = questionId;
                }

                public String getRightRatio() {
                    return RightRatio;
                }

                public void setRightRatio(String rightRatio) {
                    RightRatio = rightRatio;
                }

                public String getRightCount() {
                    return RightCount;
                }

                public void setRightCount(String rightCount) {
                    RightCount = rightCount;
                }

                public String getWrongRatio() {
                    return WrongRatio;
                }

                public void setWrongRatio(String wrongRatio) {
                    WrongRatio = wrongRatio;
                }

                public String getWrongCount() {
                    return WrongCount;
                }

                public void setWrongCount(String wrongCount) {
                    WrongCount = wrongCount;
                }
            }

            private QuestionsAnswerInfoBean QuestionsAnswerInfo;

            public static class QuestionsAnswerInfoBean implements Serializable {

                private String QuestionId;
                private String FormatContent;
                private ArrayList FormatImages;

                public ArrayList getFormatImages() {
                    return FormatImages;
                }

                public void setFormatImages(ArrayList formatImages) {
                    FormatImages = formatImages;
                }

                private ArrayList AnswerArray;

                public String getQuestionId() {
                    return QuestionId;
                }

                public void setQuestionId(String questionId) {
                    QuestionId = questionId;
                }

                public String getFormatContent() {
                    return FormatContent;
                }

                public void setFormatContent(String formatContent) {
                    FormatContent = formatContent;
                }

                public ArrayList getAnswerArray() {
                    return AnswerArray;
                }

                public void setAnswerArray(ArrayList answerArray) {
                    AnswerArray = answerArray;
                }

            }

            public String getQuestionId() {
                return QuestionId;
            }

            public void setQuestionId(String questionId) {
                this.QuestionId = questionId;
            }

            public String getRealQuestionId() {
                return RealQuestionId;
            }

            public void setRealQuestionId(String realQuestionId) {
                RealQuestionId = realQuestionId;
            }

            public String getSpecialId() {
                return SpecialId;
            }

            public void setSpecialId(String specialId) {
                SpecialId = specialId;
            }

            public String getIsCollect() {
                return isCollect;
            }

            public void setIsCollect(String isCollect) {
                this.isCollect = isCollect;
            }

            public String getUserId() {
                return UserId;
            }

            public void setUserId(String userId) {
                UserId = userId;
            }

            public String getRealBaseId() {
                return RealBaseId;
            }

            public void setRealBaseId(String realBaseId) {
                RealBaseId = realBaseId;
            }

            public String getBaseId() {
                return BaseId;
            }

            public void setBaseId(String baseId) {
                BaseId = baseId;
            }

            public String getCateId() {
                return CateId;
            }

            public void setCateId(String cateId) {
                CateId = cateId;
            }

            public String getPaperId() {
                return PaperId;
            }

            public void setPaperId(String paperId) {
                PaperId = paperId;
            }

            public String getFormatContent() {
                return FormatContent;
            }

            public void setFormatContent(String formatContent) {
                FormatContent = formatContent;
            }

            public ArrayList getFormatImages() {
                return FormatImages;
            }

            public void setFormatImages(ArrayList formatImages) {
                FormatImages = formatImages;
            }

            public String getExamPaperType() {
                return ExamPaperType;
            }

            public void setExamPaperType(String examPaperType) {
                ExamPaperType = examPaperType;
            }

            public String getQuestionScore() {
                return QuestionScore;
            }

            public void setQuestionScore(String questionScore) {
                QuestionScore = questionScore;
            }

            public String getErrorScore() {
                return ErrorScore;
            }

            public void setErrorScore(String errorScore) {
                ErrorScore = errorScore;
            }

            public String getErrorScoreType() {
                return ErrorScoreType;
            }

            public void setErrorScoreType(String errorScoreType) {
                ErrorScoreType = errorScoreType;
            }

            public String getDeductionScore() {
                return DeductionScore;
            }

            public void setDeductionScore(String deductionScore) {
                DeductionScore = deductionScore;
            }

            public String getDifficultyFactor() {
                return DifficultyFactor;
            }

            public void setDifficultyFactor(String difficultyFactor) {
                DifficultyFactor = difficultyFactor;
            }

            public String getContextQuestionId() {
                return ContextQuestionId;
            }

            public void setContextQuestionId(String contextQuestionId) {
                ContextQuestionId = contextQuestionId;
            }

            public String getAnswerCount() {
                return AnswerCount;
            }

            public void setAnswerCount(String answerCount) {
                AnswerCount = answerCount;
            }

            public String getAnswerErrorCount() {
                return AnswerErrorCount;
            }

            public void setAnswerErrorCount(String answerErrorCount) {
                AnswerErrorCount = answerErrorCount;
            }

            public String getOrderNumber() {
                return OrderNumber;
            }

            public void setOrderNumber(String orderNumber) {
                OrderNumber = orderNumber;
            }

            public String getRealPaperTitle() {
                return RealPaperTitle;
            }

            public void setRealPaperTitle(String realPaperTitle) {
                RealPaperTitle = realPaperTitle;
            }

            public String getQuestionTypeId() {
                return QuestionTypeId;
            }

            public void setQuestionTypeId(String questionTypeId) {
                QuestionTypeId = questionTypeId;
            }

            public String getRealPaperId() {
                return RealPaperId;
            }

            public void setRealPaperId(String realPaperId) {
                RealPaperId = realPaperId;
            }

            public String getRealQuestionBasicId() {
                return RealQuestionBasicId;
            }

            public void setRealQuestionBasicId(String realQuestionBasicId) {
                RealQuestionBasicId = realQuestionBasicId;
            }

            public ArrayList<questioncontentListBean> getQuestioncontentList() {
                return questioncontentList;
            }

            public void setQuestioncontentList(ArrayList<questioncontentListBean> questioncontentList) {
                this.questioncontentList = questioncontentList;
            }

            public questionStatisticsInfoBean getQuestionStatisticsInfo() {
                return questionStatisticsInfo;
            }

            public void setQuestionStatisticsInfo(questionStatisticsInfoBean questionStatisticsInfo) {
                this.questionStatisticsInfo = questionStatisticsInfo;
            }

            public QuestionsAnswerInfoBean getQuestionsAnswerInfo() {
                return QuestionsAnswerInfo;
            }

            public void setQuestionsAnswerInfo(QuestionsAnswerInfoBean questionsAnswerInfo) {
                QuestionsAnswerInfo = questionsAnswerInfo;
            }

        }

        public String getQuestionBasicId() {
            return QuestionBasicId;
        }

        public void setQuestionBasicId(String questionBasicId) {
            QuestionBasicId = questionBasicId;
        }

        public String getQuantity() {
            return Quantity;
        }

        public void setQuantity(String quantity) {
            Quantity = quantity;
        }

        public String getPaperId() {
            return PaperId;
        }

        public void setPaperId(String paperId) {
            PaperId = paperId;
        }

        public String getTitle() {
            return Title;
        }

        public void setTitle(String title) {
            Title = title;
        }

        public String getDescription() {
            return Description;
        }

        public void setDescription(String description) {
            Description = description;
        }

        public String getRealPaperId() {
            return RealPaperId;
        }

        public void setRealPaperId(String realPaperId) {
            RealPaperId = realPaperId;
        }

        public String getRealBaseId() {
            return RealBaseId;
        }

        public void setRealBaseId(String realBaseId) {
            RealBaseId = realBaseId;
        }


    }

    public ArrayList<QuestionBaseListBean> getQuestionBaseList() {
        return questionBaseList;
    }

    public void setQuestionBaseList(ArrayList<QuestionBaseListBean> questionBaseList) {
        this.questionBaseList = questionBaseList;
    }

    public String getPaperId() {
        return PaperId;
    }

    public void setPaperId(String paperId) {
        PaperId = paperId;
    }

    public String getPaperTitle() {
        return PaperTitle;
    }

    public void setPaperTitle(String paperTitle) {
        PaperTitle = paperTitle;
    }

    public String getScore() {
        return Score;
    }

    public void setScore(String score) {
        Score = score;
    }

    public String getDifficultyFactor() {
        return DifficultyFactor;
    }

    public void setDifficultyFactor(String difficultyFactor) {
        DifficultyFactor = difficultyFactor;
    }

    public String getExamDuration() {
        return ExamDuration;
    }

    public void setExamDuration(String examDuration) {
        ExamDuration = examDuration;
    }

    public String getExamYear() {
        return ExamYear;
    }

    public void setExamYear(String examYear) {
        ExamYear = examYear;
    }

    public String getAreaId() {
        return AreaId;
    }

    public void setAreaId(String areaId) {
        AreaId = areaId;
    }

    public String getCateId() {
        return CateId;
    }

    public void setCateId(String cateId) {
        CateId = cateId;
    }


    public String getRealPaperId() {
        return RealPaperId;
    }

    public void setRealPaperId(String realPaperId) {
        RealPaperId = realPaperId;
    }

    public ArrayList<QuestionContextListBean> getQuestionsContextList() {
        if (questionsContextList == null) {
            return new ArrayList<>();
        } else {
            return questionsContextList;
        }
    }

    public void setQuestionsContextList(ArrayList<QuestionContextListBean> questionsContextList) {
        this.questionsContextList = questionsContextList;
    }
}
